package com.atguigu.jxc.dao;

import com.atguigu.jxc.entity.DamageList;
import com.atguigu.jxc.entity.DamageListGoods;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface DamageListGoodsDao {
    //添加报损单商品
    void saveDamageListGoods(DamageListGoods damageListGoods);


    //查询报损单商品信息 Integer damageListId（报损单Id）
    List<DamageListGoods> goodsList(@Param("damageListId") Integer damageListId);

}
